package br.megareleased.plugin.icefilms;

import java.util.ArrayList;
import java.util.List;

public class Season {
	
	private String name;
	private List<Episode> episodes;
	
	public Season() {
		this.episodes = new ArrayList<Episode>();
	}
	
	public Season(String name) {
		this();
		this.name = name;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}

	public void addEpisode(Episode episode) {
		this.episodes.add(episode);
	}
	
	public List<Episode> getEpisodes() {
		return episodes;
	}

}
